<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<div id="test1"></div>
		<div id="test2"></div>
		<script src="../js/react.development.js"></script>
		<script src="../js/react-dom.development.js"></script>
		<script src="../js/babel.min.js"></script>
		<script type="text/babel">
			const msg = "I Like You!";
			const myId = "Atguigu!";
			const vDom = React.createElement(
				"h1",
				{ id: myId.toLocaleLowerCase() },
				msg.toLocaleUpperCase()
			);
			ReactDOM.render(vDom, test1);
			const vDom2 = <h3 id={myId.toUpperCase()}>{msg.toLowerCase()}</h3>;
			ReactDOM.render(vDom2, test2);
		</script>
	</body>
</html>
